set(LLVM_TARGET_DEFINITIONS Passes.td)
mlir_tablegen(Passes.h.inc -gen-pass-decls -name BiShengIRTensor)
mlir_tablegen(Passes.capi.h.inc -gen-pass-capi-header --prefix BiShengIRTensor)
mlir_tablegen(Passes.capi.cpp.inc -gen-pass-capi-impl --prefix BiShengIRTensor)
add_public_tablegen_target(BiShengIRTensorTransformsIncGen)
add_dependencies(mlir-headers BiShengIRTensorTransformsIncGen)